
select * from LOJA_CAIXA_LANCAMENTOS where CODIGO_FILIAL='000002' and data='20020715'
select * from LOJA_VENDA where CODIGO_FILIAL='000002' and DATA_VENDA='20021507'
select * from LOJA_VENDA_PGTO where CODIGO_FILIAL='000002' and DATA='20021507' 
select * from LOJA_VENDA_PRODUTO where CODIGO_FILIAL='000002' and DATA_VENDA='20021507' 
select * from LOJA_VENDA_TROCA where CODIGO_FILIAL='000002' and DATA_VENDA='20021507' 
select * from A_RECEBER_CHEQUES where FILIAL='SANTA URSULA' and emissao='20021507'
select * from LOJA_RESUMO_CAIXAS where CODIGO_FILIAL='000002' and DATA='20021507'  
select * from LOJA_RESUMO_OPERACAO where CODIGO_FILIAL='000002' and DATA='20021507' 
